class Person(object):

    # def __new__(cls, *args, **kwargs):
    #     print
    #     'call__new__method'
    #     print
    #     args
    #     return super(Person, cls).__new__(cls, *args, **kwargs)
    def __new__(cls, *args, **kwargs):
        print('父类初始化')
        print(args)
        # print(kwargs)
        return super(Person, cls).__new__(cls)

    def __init__(self, name, age, height):
        print('子类初始化')
        self.name = name
        self.age = age
        self.height = height


if __name__ == '__main__':
    person = Person('Belle', 18, 160)
    print(person.__dict__)
